Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

remove ~ in path when cooking on a windows host to prevent the creati… #462

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jakimowicz
Copy link

…on of a folder named ~ which is not usable by chef

@matschaffer
Copy link
Owner

Seems reasonable, but I'll need to sort out the test failures first. Looks more like something upstream than this change though.

@jakimowicz
Copy link
Author

sure. Anything I can help with ?

On Wed, Nov 11, 2015 at 10:08 AM, Mat Schaffer notifications@github.com
wrote:

Seems reasonable, but I'll need to sort out the test failures first. Looks
more like something upstream than this change though.


Reply to this email directly or view it on GitHub
#462 (comment)
.

http://fabien.jakimowicz.com

@matschaffer
Copy link
Owner

Feel like doing a bisect of chef releases to see which one broke it? ;)

On Thursday, 12 November 2015, Fabien Jakimowicz notifications@github.com
wrote:

sure. Anything I can help with ?

On Wed, Nov 11, 2015 at 10:08 AM, Mat Schaffer <notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');>
wrote:

Seems reasonable, but I'll need to sort out the test failures first.
Looks
more like something upstream than this change though.


Reply to this email directly or view it on GitHub
<
https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155710073>
.

http://fabien.jakimowicz.com


Reply to this email directly or view it on GitHub
#462 (comment)
.

-Mat

matschaffer.com

@jakimowicz
Copy link
Author

I can give it a shot.

Can you tell me where to start from and what is expected to fail ?

On Thu, Nov 12, 2015 at 12:18 AM, Mat Schaffer notifications@github.com
wrote:

Feel like doing a bisect of chef releases to see which one broke it? ;)

On Thursday, 12 November 2015, Fabien Jakimowicz <notifications@github.com

wrote:

sure. Anything I can help with ?

On Wed, Nov 11, 2015 at 10:08 AM, Mat Schaffer <notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');>
wrote:

Seems reasonable, but I'll need to sort out the test failures first.
Looks
more like something upstream than this change though.


Reply to this email directly or view it on GitHub
<

https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155710073>

.

http://fabien.jakimowicz.com


Reply to this email directly or view it on GitHub
<
https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155820697>
.

-Mat

matschaffer.com


Reply to this email directly or view it on GitHub
#462 (comment)
.

http://fabien.jakimowicz.com

@matschaffer
Copy link
Owner

The failing tests on travis will show it. The previous successes probably
contain info in the logs about what chef version was used. Likely something
between that version and the latest one will be where the failure happens.

The travis yaml includes info about how to run with our different gem files
for different major versions.

-Mat

matschaffer.com

On Thu, Nov 12, 2015 at 8:27 AM, Fabien Jakimowicz <notifications@github.com

wrote:

I can give it a shot.

Can you tell me where to start from and what is expected to fail ?

On Thu, Nov 12, 2015 at 12:18 AM, Mat Schaffer notifications@github.com
wrote:

Feel like doing a bisect of chef releases to see which one broke it? ;)

On Thursday, 12 November 2015, Fabien Jakimowicz <
notifications@github.com

wrote:

sure. Anything I can help with ?

On Wed, Nov 11, 2015 at 10:08 AM, Mat Schaffer <
notifications@github.com
javascript:_e(%7B%7D,'cvml','notifications@github.com');>
wrote:

Seems reasonable, but I'll need to sort out the test failures first.
Looks
more like something upstream than this change though.


Reply to this email directly or view it on GitHub
<

https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155710073>

.

http://fabien.jakimowicz.com


Reply to this email directly or view it on GitHub
<

https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155820697>

.

-Mat

matschaffer.com


Reply to this email directly or view it on GitHub
<
https://github.com/matschaffer/knife-solo/pull/462#issuecomment-155940482>
.

http://fabien.jakimowicz.com


Reply to this email directly or view it on GitHub
#462 (comment)
.

@matschaffer
Copy link
Owner

@jakimowicz I found the failure. #463 has the details. Can you rebase this on master to get a clean build?

@matschaffer
Copy link
Owner

Actually just noticed that TODO is basically the exact error you hit so probably time to just take that comment out as well.

…on of a folder named ~ which is not usable by chef
@jakimowicz
Copy link
Author

I rebased the branch, but I still have some test failing related to an incorrect dns resolution.

Is it something you already encountered ?

@matschaffer
Copy link
Owner

That's related to your change. I suspect we need a stub on windows_node?

Otherwise it tries to call out to see if the current node is window or not.

On Sunday, 22 November 2015, Fabien Jakimowicz notifications@github.com
wrote:

I rebased the branch, but I still have some test failing related to an
incorrect dns resolution.

Is it something you already encountered ?


Reply to this email directly or view it on GitHub
#462 (comment)
.

-Mat

matschaffer.com

@jakimowicz
Copy link
Author

yeah, that's what I figured out.

I'll make the appropriate changes to fix it.

Thanks again.

On Sun, Nov 22, 2015 at 11:38 AM, Mat Schaffer notifications@github.com
wrote:

That's related to your change. I suspect we need a stub on windows_node?

Otherwise it tries to call out to see if the current node is window or not.

On Sunday, 22 November 2015, Fabien Jakimowicz notifications@github.com
wrote:

I rebased the branch, but I still have some test failing related to an
incorrect dns resolution.

Is it something you already encountered ?


Reply to this email directly or view it on GitHub
<
https://github.com/matschaffer/knife-solo/pull/462#issuecomment-158743852>
.

-Mat

matschaffer.com


Reply to this email directly or view it on GitHub
#462 (comment)
.

http://fabien.jakimowicz.com

@matschaffer
Copy link
Owner

The pleasure's all mine :)

* master:
  A note about the chefdk/berkshelf issue.
  Removed an unsuitable package info
  Removed an unsuitable package info
  Set a specific version for json and mixlib-config
  downgrade json-1.8.2 > 1.8.1
  Resolved some of dependencies for ohai and tins to get the test passing (chef-10, chef-11)
  Skip any interactive post-install configuration steps when running first prepare command for Debian x86
  Include remote user and port in ssh control path
  replaced eval with const_get method
@jakimowicz
Copy link
Author

I just added the stub and a test for my change, but some builds are failing, some passes.

I also merged from master to be sure it was not caused by a recent change, but it still fails.

Since the code did not change much from master, is it normal ?

@matschaffer
Copy link
Owner

Looks like it could be a dependency that drifted. I'd make sure you're rebased off the latest master, though I thing the travis/pr job tests the merge so not sure if that will make a difference.

If it doesn't either you or I will have to figure out what's causing the error and lock versions appropriately.

* master: (28 commits)
  Add support for OpenSUSE Leap
  Bump version for next release
  Set release date
  Clarify comment about `ENV['PWD']`
  Changelog update
  Update manifest
  Update test now that control master is off by default
  Update OmniOS to latest LTS
  Generalize handling of ssh key arguments for older or newer knifes
  Pass ssh_identity_file as well as identity_file through as ssh keys
  Set ENV['PWD'] when switching pwd into integration test kitchen
  Removing archlinux test
  Removing gentoo test
  WIP CentOS 7 test
  Remove old debian & centos tests since apache2 no longer supports them
  Switch up nc command
  Default control master to "no"
  Update amazon linux integration
  Take out doc warning now that chefdk issue is worked out
  Map missing changelog links
  ...
@coveralls
Copy link

coveralls commented Oct 24, 2016

Coverage Status

Coverage increased (+0.05%) to 89.55% when pulling fa50c73 on jakimowicz:improvement/windows_support into 5e9f652 on matschaffer:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants